<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:ui="http://java.sun.com/jsf/facelets">

<ui:component>
<div class="navbar navbar-fixed-top">
	<div class="navbar-inner">
		<div class="container">
			<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
				<span class="icon-bar"></span>
				<span class="icon-bar"></span>
				<span class="icon-bar"></span>
			</a>
			<h:form id="fm" style="margin:0">
			<h:link outcome="index" value="medvagas" styleClass="brand" />
			<div class="nav-collapse">
				<ul class="nav">
					<li class="dropdown" id="menuUsuarios">
						<a class="dropdown-toggle" data-toggle="dropdown" href="#menuUsuarios"> Usuários <b class="caret"></b></a>
						<ul class="dropdown-menu">
	                      <li><h:link value="Usuários empresa" outcome="consultarusuarioempresa" /></li>
	                      <li><h:link value="Usuários profissional" outcome="consultarusuarioprofissional" /></li>
	                    </ul>
					</li>
					<li class="dropdown" id="menuCadastros">
						<a class="dropdown-toggle" data-toggle="dropdown" href="#menuCadastros"> Cadastros <b class="caret"></b></a>
						<ul class="dropdown-menu">
	                      <li><h:link value="Manter profissão" /></li>
	                      <li><h:link value="Manter cargos"/></li>
	                    </ul>
					</li>
					<li class="dropdown" id="menuVagas">
						<a class="dropdown-toggle" data-toggle="dropdown" href="#menuVagas"> Relatórios <b class="caret"></b></a>
						<ul class="dropdown-menu">
	                      <li><h:commandLink value="Distribuição de vagas"/></li>
	                    </ul>
					</li>
				</ul>
				<ul class="nav pull-right">
					<li><h:commandLink value="Sair" action="#{loginEmpresaMB.logout}" immediate="true"/></li>
				</ul>
			</div>
			</h:form>
		</div>
	</div>
</div>
</ui:component>

</html>
